package com.childenglish.entity;

import java.time.LocalDateTime;

public class SysClass {
    private Long classId;
    private String className;
    private String classCategory; // 班级类别（提高、进阶、基础、启蒙）
    private String gradeLevel;
    private String ageRange;
    private Integer maxStudents;
    private Integer currentStudents;
    private Long teacherId;
    private String classDescription;
    private String status; // 0正常 1停用
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    // 无参构造
    public SysClass() {
    }

    // Getter & Setter
    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassCategory() {
        return classCategory;
    }

    public void setClassCategory(String classCategory) {
        this.classCategory = classCategory;
    }

    public String getGradeLevel() {
        return gradeLevel;
    }

    public void setGradeLevel(String gradeLevel) {
        this.gradeLevel = gradeLevel;
    }

    public String getAgeRange() {
        return ageRange;
    }

    public void setAgeRange(String ageRange) {
        this.ageRange = ageRange;
    }

    public Integer getMaxStudents() {
        return maxStudents;
    }

    public void setMaxStudents(Integer maxStudents) {
        this.maxStudents = maxStudents;
    }

    public Integer getCurrentStudents() {
        return currentStudents;
    }

    public void setCurrentStudents(Integer currentStudents) {
        this.currentStudents = currentStudents;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public String getClassDescription() {
        return classDescription;
    }

    public void setClassDescription(String classDescription) {
        this.classDescription = classDescription;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "SysClass{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", classCategory='" + classCategory + '\'' +
                ", gradeLevel='" + gradeLevel + '\'' +
                ", ageRange='" + ageRange + '\'' +
                ", maxStudents=" + maxStudents +
                ", currentStudents=" + currentStudents +
                ", teacherId=" + teacherId +
                ", status='" + status + '\'' +
                '}';
    }
}

